﻿<Serializable()> _
Public Class Ecolor

#Region "           Atributos                       "
    Private _idColor As Int32
    Private _descColor As String
    Private _estado As String
    Private _desEstado As String
    Private _idUsuario As Integer
#End Region

#Region "           Propiedades                     "
    Public Property idColor() As Int32
        Get
            Return _idColor
        End Get
        Set(ByVal value As Int32)
            _idColor = value
        End Set
    End Property
    Public Property descColor() As String
        Get
            Return _descColor
        End Get
        Set(ByVal value As String)
            _descColor = value
        End Set
    End Property
    Public Property estado() As String
        Get
            Return _estado
        End Get
        Set(ByVal value As String)
            _estado = value
        End Set
    End Property
    Public Property desEstado() As String
        Get
            Return _desEstado
        End Get
        Set(ByVal value As String)
            _desEstado = value
        End Set
    End Property
    Public Property idUsuario() As Int32
        Get
            Return _idUsuario
        End Get
        Set(ByVal value As Int32)
            _idUsuario = value
        End Set
    End Property
#End Region

    '#Region "           Propiedades Avanzadas           "
    '    Public ReadOnly Property descCorredora() As String
    '        Get
    '            Return descCorredora
    '        End Get
    '    End Property
    '#End Region

#Region "           Contructores                    "
    Public Sub New()

    End Sub
    Public Sub New(ByVal idColor As Int32, ByVal descColor As String)
        Me.idColor = idColor
        Me.descColor = descColor
    End Sub
    Public Sub New(ByVal idColor As Int32, ByVal descColor As String, ByVal estado As String, ByVal idUsuario As Int32)
        Me.idColor = idColor
        Me.descColor = descColor
        Me.estado = estado
        Me.idUsuario = idUsuario
    End Sub
    
#End Region

End Class
